
export const APP_FONT_SIZE = "app_font_size"
export const APP_SELECT_THEME_COLOR = "app_select_theme_color"
export const ABILITY_CONTEXT = "ability_context"


export class CommonConstant {
  static readonly TITLE_NEWS_DETAIL = "新闻详情"
  // duration
  static readonly JUMP_HOME_DURATION: number = 3; // 5s
  static readonly LAUNCHER_DELAY_TIME: number = 2000; // 2000ms
  static readonly DURATION_1000: number = 1000; // 1000ms
  static readonly DURATION_800: number = 800; // 700ms
  static readonly DURATION_100: number = 100; // 100ms
  static readonly AVATAR_INDEX_MAX: number = 13
  /**
   * Sub window width ratio in screen width.
   */
  static readonly SUB_WINDOW_WIDTH_RATIO: number = 0.82;

  /**
   * Sub window aspect ratio.
   */
  static readonly SUB_WINDOW_ASPECT_RATIO: number = 1.7;
  static readonly APP_FONT_SIZE_SUB_WINDOW = "app_font_size_sub_window"

  /**
   * Small font size.
   */
  static readonly SET_SIZE_SMALL: number = 12;

  /**
   * Normal font size.
   */
  static readonly SET_SIZE_NORMAL: number = 14;

  /**
   * Large font size.
   */
  static readonly SET_SIZE_LARGE: number = 16;

  /**
   * Extra large font size.
   */
  static readonly SET_SIZE_EXTRA_LARGE: number = 20;

  /**
   * Huge font size.
   */
  static readonly SET_SIZE_HUGE: number = 24;

  /**
   * Slider min value.
   */
  static readonly SET_SLIDER_MIN: number = 14;

  /**
   * Slider max value.
   */
  static readonly SET_SLIDER_MAX: number = 22;

  /**
   * Slider step length.
   */
  static readonly SET_SLIDER_STEP: number = 2;

  /**
   * The setting list display index.
   */
  static readonly DISPLAY_INDEX: number = 0;

  /**
   * The setting list voice index.
   */
  static readonly VOICE_INDEX: number = 1;

  /**
   * The setting list slice start index.
   */
  static readonly START_INDEX: number = 2;

  /**
   * The setting list slice font index.
   */
  static readonly SET_FONT_INDEX: number = 3;

  /**
   * The setting list slice end index.
   */
  static readonly END_INDEX: number = 6;
}